package com.lei.greendao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @ProjectName : YoHuo001Java
 * @Author : 雷金泷
 * @Time : 2020/12/21 18:43
 * @Description : 文件描述
 */
@Entity(nameInDb = "GOODSBEAN")
public class GoodsBean {
    @Id(autoincrement = true)
    @Unique
    private Long id;
    @Property(nameInDb = "name")
    private String name;
    @Property(nameInDb = "pwd")
    private String pwd;

    @Generated(hash = 2123804299)
    public GoodsBean(Long id, String name, String pwd) {
        this.id = id;
        this.name = name;
        this.pwd = pwd;
    }
    @Generated(hash = 1806305570)
    public GoodsBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getPwd() {
        return this.pwd;
    }
    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
}
